#ifndef JZ_JSON_HELPER_H_
#define JZ_JSON_HELPER_H_

#include <QString>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include "JZJsonStream.h"

class JZJsonHelper
{
public:
    static bool getValue(const QJsonValue &obj,const QString &path,QJsonValue &value);

    template<class T>
    static bool getValue(const QJsonValue& obj, const QString& path, T& value);
};

#endif // !JZ_RESULT_H_
